-
Home
-
WooCommerce Shipping
-
1.0.5
-
Code
-
Classes
- Address
Total Complexity |
32 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
289 |
Lines of code |
120 |
Logical lines of code |
59 |
Comment lines |
128 |
Methods |
13 |
Properties |
7 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
is_state_required_for_country_code() |
S |
60 |
7 |
13 |
validate_country() |
S |
56 |
4 |
19 |
validate() |
S |
60 |
3 |
15 |
validate_state() |
S |
63 |
3 |
12 |
validate_city() |
S |
65 |
3 |
9 |
validate_postcode() |
S |
64 |
3 |
10 |
sanitize() |
S |
64 |
2 |
9 |
sanitize_postcode() |
S |
70 |
2 |
6 |
__construct() |
S |
63 |
1 |
10 |
sanitize_address() |
S |
80 |
1 |
3 |
sanitize_state_code() |
S |
72 |
1 |
5 |
sanitize_country_code() |
S |
76 |
1 |
4 |
sanitize_two_letters_code() |
S |
72 |
1 |
5 |